﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="renderer" content="webkit">
    <title>{$site_name}</title>
    <meta name="keywords" content="{$site_seo_keywords}"/>
    <meta name="description" content="{$site_seo_description}">
    <link rel="shortcut icon" href="__TMPL__Public/assets/images/favicon.ico">
    <link href="__TMPL__Public/assets/css/puke.css" rel="stylesheet">
    <block name="other_css_link"></block>
    <block name="other_css"></block>
</head>
<body>

<div class="g_w1000min menue">
    <div class="g_w1000 bar">
        <div class="left">
            <ul>
                <li class="lnk"><a href="{:U('Home/Index/index')}"><span>開獎首頁</span></a></li>
                <li class="lnk"><a href="{:U('Home/Index/trend')}"><span>走勢圖</span></a></li>
                <li class="lnk"><a href="{:U('Home/Index/history')}"><span>更多歷史</span></a></li>
                <li class="lnk"><a href="{:U('Home/Index/history',array('type'=>1))}"><span>昨天開獎</span></a></li>
                <li class="lnk"><a href="{:U('Home/Index/history',array('type'=>2))}"><span>前天開獎</span></a></li>
                <li class="lnk"><a href="http://www.yxx66.cn/login/login.html"><span>登录</span></a></li>
            </ul>
            <div class="g_clear"></div>
        </div>
    </div>
    <div class="g_clear"></div>
</div>

<div class="g_w1000min open_form">
    <div class="g_w1000 ">
        <div class="sub_right">
            <div class="sub_r_open_form sub_r_open_form_10042">
                <!--<div class="sub_mid_l">-->
                    <!--<div class="shuang_anniu"></div>-->
                <!--</div>-->
                <div class="sub_mid_c">
                    <div class="result">
                        <ul id="term_ball">
                            <span class=" dice dice1_{$now_kai_jiang_hao['num_1']}" ></span>
                            <span class=" dice dice1_{$now_kai_jiang_hao['num_2']}" ></span>
                            <span class=" dice dice1_{$now_kai_jiang_hao['num_3']}" ></span>
                            <span class=" dice dice1_{$now_kai_jiang_hao['num_4']}" ></span>
                            <span class=" dice dice1_{$now_kai_jiang_hao['num_5']}" ></span>
                            <span class=" dice dice1_{$now_kai_jiang_hao['num_6']}" ></span>
                        </ul>
                        <h2>每{:get_jian_ge_minute()}分钟一期,本期第<em style="color: rgb(255, 0, 0);" id="cterm">{$now_qi_shu}</em>期</h2>
                    </div>
                </div>
                <div class="sub_mid_r">
                    <h2>下期【第<em style="color: rgb(255, 0, 0);" id="nterm">{$next_qi_shu}</em>期】</h2>
                    <h3><em style="color: rgb(255, 255, 255);" id="ndate1"><p>{$dao_ji_shi_show}</p></em></h3>
                    <div class="btn_bar">
                        <span><a class="g_button btn_white" href="{:U('Home/Index/rule')}">玩法規則</a></span>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="g_clear"></div>
            </div>
            <block name="main"></block>
            <div class="sub_hr"></div>
        </div>
        <div class="clear"></div>
    </div>
</div>

<div class="bottomW_full">
    <div class="g_w1000">
        <div class="inCenter">
            <div class="bottomWThree">
                Copyright 2013-2017 All rights reserved 澳門魚蝦蟹快三開獎號碼 版權所有 日ICP備002368<span id="theLimitTime">{$dao_ji_shi}</span>號<br>
              
                <div class="g_clear"></div>
            </div>
            <div class="g_clear"></div>
        </div>
        <div class="g_clear"></div>
    </div>
    <div class="g_clear"></div>
</div>

<script type="text/javascript" src="__TMPL__Public/assets/js/jquery-1.10.2.min.js"></script>
<block name="other_js_link"></block>
<script type="text/javascript">
    $(document).ready(function () {
        var dao = $('#theLimitTime').text();
        setInterval(function () {
            dao = dao - 1;
            // $('#ndate1').find('p').html("0" + parseInt(dao / 60) + ":" + (dao % 60 < 10 ? "0" + dao % 60 : dao % 60));
            $('#ndate1').find('p').html(parseInt(dao / 60) + ":" + (dao % 60 < 10 ? "0" + dao % 60 : dao % 60));
            if (dao == 10) {
                var dice = $(".dice");
                setInterval(function () {
                    $.each(dice, function (index, data) {
                        $(this).attr("class", "dice");//清除上次动画后的点数
                        $(this).css('cursor', 'default');

                        var num = Math.floor(Math.random() * 6 + 1);//产生随机数1-6
                        $(this).animate({left: '+2px'}, 100, function () {
                            $(this).addClass("dice_t");
                        }).delay(200).animate({top: '-2px'}, 100, function () {
                            $(this).removeClass("dice_t").addClass("dice_s");
                        }).delay(200).animate({opacity: 'show'}, 600, function () {
                            $(this).removeClass("dice_s").addClass("dice_e");
                        }).delay(100).animate({left: '-2px', top: '2px'}, 100, function () {
                            $(this).removeClass("dice_e").addClass("dice_s");
                        });
                    })
                }, 1000)
            }
            if (dao <= 0) {
                window.location.reload();
            }

        }, 1000);
    });
</script>
<block name="other_js"></block>
</body>
</html>